Back
QTR:

Syntax:

  • QTR Rd4 BS4
Description:

The QTR (queue to register-file) instruction pops the top data of the queue and copies it to the specified register-file address with the corresponding bank select. The data popped corresponds to two banks, i.e., consists of 128 bits. The data is written to the register-file via Port 4.

Microcode Pattern:

Takes 2 cycles to execute.
    Example: QTR 0xA 3

	  
 DISP    IOC  AGU ASEL BS5 P5 BS4 C4 P4 MPC BS3 C3 P3 P2 P1 P0
--------------------------------------------------------------
00000000 Q2R   -    -   0  00  0   0 00  -   0   0 00 00 00 00
00000000  -    -    -   0  00  3   0 0a  -   0   0 00 00 00 00

	  
Exceptions :

Configuration Register: 0x20 (CrMemExc)

Exception No. Mask R/W Access Name
[2] 00000000 00000004 RW Direction FIFO Empty

Example :

QTR 0xA 3  !! Pops the queue, and copies the data in the 
           !! both banks of register 0xA (BS4 = 3)
		   
QTR 0xB 2  !! Pops the queue, and copies the data to the 
           !! high bank of register 0xB (BS4 = 2)
		   
QTR 0xC 1  !! Pops the queue, and copies the data to the 
           !! low bank of register 0xC (Bs4 = 1)
		   
QTR 0xD 0  !! Pops the queue, but, does not copy the data 
           !! to register 0xD (BS4 = 0)

APE Group Zeuthen. 2003
: qtr_masm.php,v 1.1 2003/06/30 13:29:23 lukyanov Exp $
$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $